#ifndef UTIL_H
#define UTIL_H

/*
 * Returns whether s is a palindrome.
 */
int is_palindrome(const char *s, int length);

/*
 * Returns the given string with all letters in lowercase.
 */
char *strtolower(char *s);

/*
 * Returns the maximum value found in the given array of the given size.
 */
int maxv(int v[], int n);

#endif /* UTIL_H */
